﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Product.ProductDtos
{
    /// <summary>
    /// 产品库存
    /// </summary>
    public class InventoryDtos
    {
        public int Id { get; set; }

        ///// <summary>
        ///// 产品主键(关联)
        ///// </summary>
        //public int Product_Id { get; set; }

        /// <summary>
        ///成品名称
        /// </summary>
        [DisplayName("成品名称")]
        public string Product_Name { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        [DisplayName("成品编号")]
        public string Product_Number { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        [DisplayName("规格型号")]
        public string Specification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [DisplayName("单位")]
        public string Unit { get; set; }

        ///// <summary>
        ///// 单位
        ///// </summary>
        //public string Unit { get; set; }

        /// <summary>
        /// BOM
        /// </summary>
        [DisplayName("BOM")]
        public string Product_Bom { get; set; }

        ///// <summary>
        ///// 产品类型(关联)
        ///// </summary>
        //public int ProductType_Id { get; set; }

        /// <summary>
        /// 产品类型名称
        /// </summary>
        [DisplayName("产品类型名称")]
        public string ProductName { get; set; }


        /// <summary>
        /// 产品属性
        /// </summary>
        [DisplayName("产品属性")]
        public string Attribute { get; set; }

        /// <summary>
        /// 产品分类
        /// </summary>
        [DisplayName("产品分类")]
        public string ProductType { get; set; }

        /// <summary>
        /// 当前库存
        /// </summary>
        [DisplayName("当前库存")]
        public int Inventory { get; set; }

        /// <summary>
        /// 库存上限
        /// </summary>
        [DisplayName("库存上限")]
        public int UpInventory { get; set; }

        /// <summary>
        /// 库存下限
        /// </summary>
        [DisplayName("库存下限")]
        public int Down_Inventory { get; set; }
    }
}
